.color-picker-container {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.color-picker-container h2 {
  margin-bottom: 20px;
  color: #333;
}

.color-picker-container .color-picker {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.color-picker-container .color-sliders {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-picker-container .slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 30px;
}

.color-picker-container .color-label {
  font-weight: bold;
  color: #666;
  font-size: 14px;
}

.color-picker-container .color-preview {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  border: 1px solid #ddd;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.color-picker-container .color-values {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-family: monospace;
  font-size: 14px;
}

.color-picker-container .color-values div {
  margin: 4px 0;
}

/* 自定义滑块样式 */
.color-picker-container .noUi-vertical {
  height: 180px;
  width: 28px;
}

.color-picker-container .noUi-vertical .noUi-handle {
  width: 32px;
  height: 32px;
  right: -3px;
  bottom: -13px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.color-picker-container .noUi-vertical .noUi-handle:before,
.color-picker-container .noUi-vertical .noUi-handle:after {
  width: 8px;
  height: 1px;
  left: 5px;
  top: 12px;
}

.color-picker-container .noUi-vertical .noUi-handle:after {
  height: 8px;
  width: 1px;
  left: 9px;
  top: 8px;
}

/* 连接线样式 */
.color-picker-container .noUi-connect {
  background: #4CAF50;
}

/* 工具提示样式 */
.color-picker-container .noUi-tooltip {
  min-width: min-content;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
  left: 14px;
  top: 5px;
}

/* 为每个滑块设置不同的颜色 */
.color-picker-container .slider-container:nth-child(1) .noUi-connect {
  background: #f44336;
}

.color-picker-container .slider-container:nth-child(2) .noUi-connect {
  background: #4CAF50;
}

.color-picker-container .slider-container:nth-child(3) .noUi-connect {
  background: #2196F3;
}

/* 滑块轨道样式 */
.color-picker-container .noUi-vertical .noUi-track {
  width: 6px;
  background: #e0e0e0;
  border-radius: 4px;
  left: 12px;
}

/* 滑块背景样式 */
.color-picker-container .noUi-vertical .noUi-connect {
  border-radius: 4px;
}

/* 悬停效果 */
.color-picker-container .noUi-handle:hover {
  cursor: grab;
}

.color-picker-container .noUi-handle:active {
  cursor: grabbing;
} 